Repository navigation
[OMEGA-491] Allow to setting an embedding provider via the launcher - #387
paul-v-snet wants to merge 3 commits into
Conversation
…w setting an embedding provider when starting Omega via the launcher
timur-ashkenov
left a comment
There was a problem hiding this comment.
@paul-v-snet And if you choose different providers for the LLM and embeddings—for example, -p Anthropic -e OpenAI—how does the OpenAI key get into the container? Right now, it seems only the LLM provider's key is passed through. Is a separate key required for embeddings?
|
@timur-ashkenov, right, my bad, thanks for catching that. I'll fix it. |
…edding providers differ
|
@timur-ashkenov, fixed in ca3d3b5 |
|
Tested: ca3d3b5 against patch-to-v0.1.20, image What I checked
|
Description
Introduces a new
-eparameter tostartlauncher command which allows to set an embedding provider when starting Omega.The default embedding provider
Localfor theASICloudprovider was kept as before to ensure this won't break existing users vector stores after the update.The parameter accepts only
Local,OpenAI, andASICloud; these are the complete set of currently supported embedding providers. The parameter is also case-sensitive since the value is compared withLocalinsrc/memory.metta, and usinglocalcould lead to crashes:Omega/src/memory.metta
Line 46 in 5bdd895
The final embedding provider is selected in the following order:
-e <provider>EMBEDDING_PROVIDERif-eis not passedLocalforASICloud) if neither of the above is providedHow Has This Been Tested?
startwith the-eparameter and different providers: all passedChecklist